package win.timloong.android.carwiki.bean;

/**
 * Created by tim on 16/7/11.
 */

public class IndexItem {
    /**
     * 标题
     */
    private String title;
    /**
     * 缩略图片
     */
    private String image;
    /**
     * 推荐类型区分
     * 0.精华;1.他说
     */
    private int typeImg;
    /**
     * 所在目录
     */
    private String typeName;
    /**
     * 浏览次数
     */
    private String hasSeen;
    /**
     * 发表时间
     */
    private String time;

    public IndexItem() {
    }

    public IndexItem(String title, String image, int typeImg, String typeName, String hasSeen, String time) {
        this.title = title;
        this.image = image;
        this.typeImg = typeImg;
        this.typeName = typeName;
        this.hasSeen = hasSeen;
        this.time = time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getTypeImg() {
        return typeImg;
    }

    public void setTypeImg(int typeImg) {
        this.typeImg = typeImg;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getHasSeen() {
        return hasSeen;
    }

    public void setHasSeen(String hasSeen) {
        this.hasSeen = hasSeen;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "IndexItem{" +
                "title='" + title + '\'' +
                ", image='" + image + '\'' +
                ", typeImg=" + typeImg +
                ", typeName='" + typeName + '\'' +
                ", hasSeen=" + hasSeen +
                ", time='" + time + '\'' +
                '}';
    }
}
